package huang.jan07;

public class Cat extends Animal {
	int amount;
	int getMouse(){
		return amount;
	}
	void setAmount(int amt){
		this.amount=amt;
	}
	int getAmount(){
		return this.amount;
	}
	void run(){
		//super.run表示调用父类的run方法
		super.run();
		System.out.println("跑的没声音");
	}
}
